//
//  PTTabBarItem.m
//  封装TableBar
//
//  Created by 贾旭周 on 15/12/11.
//  Copyright © 2015年 gm-iMac-iOS-03. All rights reserved.
//

#import "TPTabBarItem.h"

@implementation TPTabBarItem

+ (id) tabBarItemWithTitle:(NSString *)title
               normalImage:(NSString *)normalImage
          highlightedImage:(NSString *)highlightedImage
{
    TPTabBarItem *item = [[TPTabBarItem alloc] init];
    item.title = title;
    item.normalImage = normalImage;
    item.highlightedImage = highlightedImage;
    return item;
}


+ (id)tabBarItemWithNormalImage:(NSString *)normalImage highlightedImage:(NSString *)highlightedImage
{
    TPTabBarItem *item = [[TPTabBarItem alloc] init];
    item.normalImage = normalImage;
    item.highlightedImage = highlightedImage;
    return item;
}


@end
